package model;

/**
 * Representa o resumo de todas as avaliações/rates feitos em relação a um
 * trabalho/Work.
 * 
 * @author fabio
 * @see Work
 */
public class Grade {

	private float totalEvaluation;
	private long amountOfRates;

	public Grade(float totalEvaluation, long amountOfVotes) {
		super();
		this.totalEvaluation = totalEvaluation;
		this.amountOfRates = amountOfVotes;
	}

	public float getAverageGrade() {
		return totalEvaluation;
	}

	public long getAmountOfRates() {
		return amountOfRates;
	}

}
